package com.xuecheng.content.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @description: 该课程不在待审核课程列表中
 * @author 勾新杰
 * @version 1.0
 * @date 2025/2/15 23:10
 */
public class CoursePublishPreNotFoundException extends XCPlusBaseException {

    CoursePublishPreNotFoundException(String message){
        super(message);
    }

    public static void cast(){
        throw new CoursePublishPreNotFoundException(ContentError.COURSE_NOT_IN_AUDIT_LIST.getErrMessage());
    }
}
